import request from '@/utils/request'

// 查询 违纪处分
export function getList(query) {
  return request({
    url: '/evaluate/violateDiscInfo/list',
    method: 'get',
    params: query
  })
}


// 新增违纪处分
export function addData(query) {
    return request({
      url: '/evaluate/violateDiscInfo',
      method: 'post',
      data: query
    })
}

// 修改违纪处分
export function editData(query) {
    return request({
      url: '/evaluate/violateDiscInfo',
      method: 'put',
      data: query
    })
}

// 删除违纪处分
export function delData(ids) {
    return request({
      url: '/evaluate/violateDiscInfo/' + ids,
      method: 'delete'
    })
}


